package fr.maistre.edu.swarnentity;

import fr.maistre.swarn.*;
import java.util.ArrayList;
import java.util.List;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println("Hello World");
      
        Ressource energy = new Ressource("energie", 15000);
        Ressource vit = new Ressource(RessourceNames.Vitalité,300);
        
        ListRessources envInitRessource = new ListRessources();
        envInitRessource.add(energy);
        envInitRessource.add(vit);
	        
	     Environement environment = new Environement(envInitRessource);
	     
	     Goal lifGoal = new LifeGoal();
        
	     ListRessources bactRessourceCritique = new ListRessources();
         Ressource temps = new Ressource(RessourceNames.Energie, 20);
         bactRessourceCritique.add(temps);
         
        
        bacterie b = new bacterie(new DNA(), environment, lifGoal, bactRessourceCritique);
        b.start();
        
       
    }
}
